package com.yand.spring.DesignPrinciples.liskovSubstitutionPrinciple.afterImprovement;

public class Square implements Quadrangle {

    private long length;


    public void setLength(long length) {
        this.length = length;
    }

    @Override
    public long getWith() {
        return length;
    }

    @Override
    public long getHeight() {
        return length;
    }
}
